package cn.org.mrliu.ssm.service;

import cn.org.mrliu.ssm.common.service.BaseService;
import cn.org.mrliu.ssm.model.Customer;
import cn.org.mrliu.ssm.util.Pagination;

public interface CustomerService extends BaseService<Customer>{

    Pagination getCustomerList(Integer pageIndex, Integer pageSize, String hello) throws  Exception;
    
    public void addCustomer(Customer customer) throws Exception;
    public void updateCustomer(Customer customer) throws Exception;
    public void deleteCustomer(Integer id) throws Exception;
    public Customer getCustomer(Integer id) throws Exception;
    public Customer getCustomer1(Integer id) throws Exception;
    
    
    
    
}
